package main

import (
	"fmt"
	"go_code/project01_basic/chapter10_projectDemo/project01_familyAccount/details"
)

func main() {
	var myAccount *(details.FamilyAccount)
	var account, pwd string
	var balance float64
	fmt.Println("请输入账号:")
	fmt.Scanln(&account)
	fmt.Println("请输入密码:")
	fmt.Scanln(&pwd)
	fmt.Println("请输入初始资金:")
	fmt.Scanln(&balance)
	myAccount = myAccount.SetFamilyAccount(account, pwd, balance)
	myAccount.Menu()
}
